package com.design03_behavioral.pattern15_strategy.example03;

import com.design03_behavioral.pattern15_strategy.example02.Receipt;

/**
 * @ClassName Mt2101ReceiptHandleStrategy
 * @Description 具体策略类
 * @Author zhangjunhao
 * @DATE 2023/9/7 1:16
 */
public class Mt2101ReceiptHandleStrategy implements ReceiptHandleStrategy {
    @Override
    public void handleReceipt(Receipt receipt) {
        System.out.println("解析报文MT2101: " +
                receipt.getMessage());
    }
}